﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MesBSW.DAL.CustomDB
{
    public class DgvColumnInfo
    {
        /// <summary>
        /// 栏位类型
        /// </summary>
        public Type column_type { get; set; } = typeof(DataGridViewTextBoxColumn);

        /// <summary>
        /// 栏位名称
        /// </summary>
        public string column_name { get; set; }


        /// <summary>
        /// 标题
        /// </summary>
        public string header_text { get; set; }

        /// <summary>
        /// 宽度
        /// </summary>
        public int column_width { get; set; }

        /// <summary>
        /// 是否隐藏
        /// </summary>
        public bool column_visible { get; set; }

        /// <summary>
        /// 只读
        /// </summary>
        public bool read_only { get; set; }

        /// <summary>
        /// 数据绑定
        /// </summary>
        public string data_property_name { get; set; }

    }
}
